﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WeChat.Common;

namespace WeChat.Model
{
    class ChatMessageModel : NotifyBase
    {
        private string message;
        public string Message
        {
            get { return message; }
            set
            {
                if (message != value)
                {
                    message = value;
                    this.DoNotify();
                }
            }
        }
        private TypeLocalMessageLocation messageLocation;
        public TypeLocalMessageLocation MessageLocation
        {
            get { return messageLocation; }
            set
            {
                if (messageLocation != value)
                {
                    messageLocation = value;
                    this.DoNotify();
                }
            }
        }
    }
}
